<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>{$web.title}-{$web.name}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="{$web.des}" />
    <meta name="keywords" content="{$web.key}" />

    <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
    <link rel="shortcut icon" href="__ROOT__/public/images/logo.png">

    <link href='https://fonts.googleapis.com/css?family=Roboto:400,100,300,700,900' rel='stylesheet' type='text/css'>
    <link href="https://fonts.googleapis.com/css?family=Roboto+Slab:300,400,700" rel="stylesheet">

    <!-- Animate.css -->
    <link rel="stylesheet" href="__ROOT__/public/BLADE/css/animate.css">
    <!-- Icomoon Icon Fonts-->
    <link rel="stylesheet" href="__ROOT__/public/BLADE/css/icomoon.css">
    <!-- Bootstrap  -->
    <link rel="stylesheet" href="__ROOT__/public/BLADE/css/bootstrap.css">
    <!-- Superfish -->
    <link rel="stylesheet" href="__ROOT__/public/BLADE/css/superfish.css">
    <!-- Flexslider  -->
    <link rel="stylesheet" href="__ROOT__/public/BLADE/css/flexslider.css">

    <link rel="stylesheet" href="__ROOT__/public/BLADE/css/style.css">

    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">

    <link rel="stylesheet" href="__ROOT__/public/swiper.min.css">
    <!--外部引用-->
    <link href="__PUBLIC__/simpleboot/css/simplebootadmin.css" rel="stylesheet">
    <link href="__PUBLIC__/js/artDialog/skins/default.css" rel="stylesheet" />
    <link href="__PUBLIC__/simpleboot/font-awesome/4.4.0/css/font-awesome.min.css"  rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="__PUBLIC__/simpleboot/font-awesome/4.4.0/css/font-awesome-ie7.min.css">

    <script type="text/javascript">
        //全局变量
        var GV = {
            ROOT: "__ROOT__/",
            WEB_ROOT: "__WEB_ROOT__/",
            JS_ROOT: "public/js/",
        };
    </script>

    <script src="__PUBLIC__/js/jquery.js"></script>
    <script src="__PUBLIC__/js/wind.js"></script>


    <!--外部引用-->
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
    <!-- Modernizr JS -->
    <script src="__ROOT__/public/BLADE/js/modernizr-2.6.2.min.js"></script>
    <!-- FOR IE9 below -->
    <!--[if lt IE 9]>
    <script src="__ROOT__/public/BLADE/js/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript">

        var mobileAgent = new Array("iphone", "ipod", "ipad", "android", "mobile", "blackberry", "webos", "incognito", "webmate", "bada", "nokia", "lg", "ucweb", "skyfire");

        var browser = navigator.userAgent.toLowerCase();

        var isMobile = false;

        for (var i=0; i<mobileAgent.length; i++){ if (browser.indexOf(mobileAgent[i])!=-1){ isMobile = true;

//alert(mobileAgent[i]);

            location.href = "{:leuu('moblie/index/index')}";

            break; } }

    </script>

</head>
<body>
<style>
    *{
        font-family: 微软雅黑;
    }
</style>
<div style="width: 100%;height: 5vh; background: #f9f9f9" >
    <div style="float: left; margin-top: -1vh;">
        <ul  class="nav pull-right" id="main-menu-user">
            <if condition="isset($_SESSION['user'])==false ">
                <div style="line-height: 6.5vh;margin-left: 80vw;">
                <li style="float: left;margin-right: 0.5vw;"><a href="{:leuu('user/login/index')}">登陆</a></li>
                    <li  style="float: left;margin-right: 0.5vw;">|</li>
                <li style="float: left;margin-right: 0.5vw;"><a href="{:leuu('user/register/index')}">注册</a></li>
                    <li  style="float: left;margin-right: 0.5vw;">|</li>
                    <li style="float: left;margin-right: 0.5vw;"><a href="{:leuu('face/index/reful')}">服务协议</a></li>
                    <li  style="float: left;margin-right: 0.5vw;">|</li>
                    <li style="float: left"><a href="{:leuu('face/index/com')}">公司简介</a></li>
                </div>
                <!--<li class="dropdown user offline">-->
                    <!--<a class=" user"  href="#">-->
                        <!--请登录<b class="caret"></b>-->
                    <!--</a>-->
                    <!--<a href="{:leuu('user/login/index')}"><i class="fa fa-sign-in"></i> &nbsp;登录</a>-->
                    <!--<a href="{:leuu('user/register/index')}"><i class="fa fa-user"></i> &nbsp;注册</a>-->
                    <!--<ul class="dropdown-menu pull-right">-->
                        <!--<li><a href="{:U('Face/index/send')}"><i class="fa fa-user"></i> &nbsp;免费发布广告</a></li>-->
                        <!--<li class="divider"></li>-->
                        <!--<li><a href="{:U('api/oauth/login',array('type'=>'sina'))}"><i class="fa fa-weibo"></i> &nbsp;微博登录</a></li>-->
                        <!--<li><a href="{:U('api/oauth/login',array('type'=>'qq'))}"><i class="fa fa-qq"></i> &nbsp;QQ登录</a></li>-->
                        <!--<li><a href="{:leuu('user/login/index')}"><i class="fa fa-sign-in"></i> &nbsp;登录</a></li>-->
                        <!--<li class="divider"></li>-->
                        <!--<li><a href="{:leuu('user/register/index')}"><i class="fa fa-user"></i> &nbsp;注册</a></li>-->
                    <!--</ul>-->
                <!--</li>-->
                <else /> <li class="dropdown user login">
                <a class="dropdown-toggle user" data-toggle="dropdown" href="#">
                    <img style="width: 2vw;" src="__ROOT__/data/upload/<?php echo $_SESSION['user']['avatar'] ?>" class="headicon"/>
                    <span class="user-nicename"></span><b class="caret"></b></a>
                <ul class="dropdown-menu pull-right">
                    <li><a href="{:leuu('face/index/send')}"><i class="fa fa-user"></i> &nbsp;免费发布广告</a></li>
                    <li class="divider"></li>
                    <li><a href="{:leuu('user/center/index')}"><i class="fa fa-user"></i> &nbsp;个人中心</a></li>
                    <li class="divider"></li>
                    <li><a href="{:leuu('user/index/logout')}"><i class="fa fa-sign-out"></i> &nbsp;退出</a></li>
                </ul>
            </li>
            </if>

        </ul>
    </div>
</div>
<header id="fh5co-header" role="banner">
    <div class="container text-center">
        <div id="fh5co-logo">
            <a href="{:leuu('face/index/index')}" style="float: left; width: 10vw;height: 8vh;margin-top: -1.5vh;"><img src="__ROOT__/data/upload/{$web.logo}"></a>
            <div style="margin: 0 auto ">
                <form action="{:leuu('face/index/ser')}" method="post">
                    <input type="text" required name="ser" id="" style="width: 28vw;height: 5vh;" placeholder="请输入广告标题\地区名称">
                    <input type="submit" class="sub" value="查找">
                </form>
                <style>
                    .sub{
                        padding: 1.2vh 1.5vw;
                        color: #fff;
                        text-decoration: none;
                        text-shadow: none;
                        background-image: none;
                        border: 0;
                        background: #3bbdf5;
                    }
                </style>
            </div>
        </div>
        <nav>
            <ul class="top">
                <!-- Split button -->
                <!-- Split button -->
                <div class="bs-example">
                    <ul class="nav nav-pills" role="tablist">
                        <li role="presentation"><a href="{:leuu('face/index/index')}">主页</a></li>
                        <volist name="city" id="vo">
                        <li role="presentation" class="dropdown">
                            <a id="drop4" href="{:leuu('face/index/other',['id'=>$vo['id']])}" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                {$vo.name}
                                <span class="caret"></span>
                            </a>
                            <ul style="width: 30vw;" id="menu1" class="dropdown-menu" aria-labelledby="drop4">
                                <volist name="vo['des']" id="child">
                                <li style="float: left;"><a href="{:leuu('face/index/other',['id'=>$child['id']])}">{$child['name']}</a></li>
                                </volist>
                            </ul>
                        </li>
                        </volist>
                    </ul> <!-- /pills -->
                </div>
            </ul>
        </nav>
    </div>
</header>
{__CONTENT__}
<footer id="fh5co-footer" role="contentinfo">
    <div class="container-fluid">
        <div class="copyright"><small>&copy; 2017 西安达聪网络科技有限公司. All Rights Reserved. </small></div>
        <div class="social" style="font-size: 12px">
            <a >友情链接</a>
            <volist name="link" id="vo">
            <a href="{$vo.link_url}" target="{$vo.link_target}">{$vo.link_name}</a>
            </volist>
        </div>
        <div class="social" style="font-size: 12px">
            <a >陕ICP备16017628号</a>
        </div>
        <div class="social">
            <a >客服微信：{$web.wechat}</a>
            <a >客服电话：{$web.number}</a>
        </div>
    </div>
    </div>
</footer>
<!-- END #fh5co-footer -->

<!-- jQuery -->
<script src="__ROOT__/public/BLADE/js/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="__ROOT__/public/BLADE/js/bootstrap.min.js"></script>
<!-- masonry -->
<script src="__ROOT__/public/BLADE/js/jquery.masonry.min.js"></script>
<!-- MAIN JS -->
<script src="__ROOT__/public/BLADE/js/main.js"></script>
<script>
    var mySwiper = new Swiper ('.swiper-container', {

        autoplay: 5000,
        // 如果需要分页器
        pagination: '.swiper-pagination',

        // 如果需要前进后退按钮
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',

    })
</script>
</body>
</body>
</html>